package com.example.mytest

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {


    /**
     * asdada
     */
    var aaa: Int = 0


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        tv_test.setOnClickListener {
            val dialog = TestDialog()
            dialog.show(supportFragmentManager,"aaa")

        }
        swiatch.isFocusable =false

    }

    override fun onDestroy() {
        super.onDestroy()
    }
}
